﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace SchoolManagementSystem.Report._3._KeToan
{
    public partial class BaoCaoChiTietHocVien : DevExpress.XtraReports.UI.XtraReport
    {
        public BaoCaoChiTietHocVien()
        {
            InitializeComponent();
           
        }

        int STT = 0;
      
        private void Detail_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            STT++;
            xrTableCell_STT.Text = STT.ToString();
        }

        private void ReportHeader_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
          //  xrLabel_Class.Text = "Lớp: " + ClassName;
          //  xrLabel_ClassSize.Text = "Sỉ số: " + ClassSize;
          //  xrLabel_Teacher.Text = "GVCN: " + Teacher;
        }

        private void ReportFooter_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            xrLabel_datetime.Text = "Tp. Hồ Chí Minh, ngày "+DateTime.Now.Day+" tháng "+DateTime.Now.Month+" năm "+DateTime.Now.Year;
            xrLabel_Staff.Text = Helper.ValueDefine.StaffName;
        }

    }
}
